﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//Khai bao cac kieu enum trong project

/// <summary>
/// dung cho viec select item theo Index, Text or Value cua cac control drop down list, checkbox list, radio button list
/// </summary>
public enum SelectBy
{
    /// <summary>
    /// 
    /// </summary>
    Index = 1,
    /// <summary>
    /// 
    /// </summary>
    Text = 2,
    /// <summary>
    /// 
    /// </summary>
    Value = 3
}

/// <summary>
/// enum cua cac kieu so
/// </summary>
public enum NumberType
{
    /// <summary>
    /// 
    /// </summary>
    Integer = 0,
    /// <summary>
    /// 
    /// </summary>
    Long = 1,
    /// <summary>
    /// 
    /// </summary>
    Double = 2,
    /// <summary>
    /// 
    /// </summary>
    Decimal = 3,
    /// <summary>
    /// 
    /// </summary>
    Float = 4
}

public enum DatabaseProvider
{
    SqlServer = 0,
    OleDB = 1
}

/// <summary>
/// enum dung cho CryptoLib
/// </summary>
public enum CryptoServiceProvider : int
{
    /// <summary>
    /// 
    /// </summary>
    DES,
    /// <summary>
    /// 
    /// </summary>
    RC2,
    /// <summary>
    /// 
    /// </summary>
    Rijndael,
    /// <summary>
    /// 
    /// </summary>
    TripleDes
}

/// <summary>
/// hai dang ma hoa la md5 va sha1
/// </summary>
public enum HashAlgorithmMode : int
{
    /// <summary>
    /// 
    /// </summary>
    md5,
    /// <summary>
    /// 
    /// </summary>
    sha1
}

public enum FormatType
{
    None,
    UserName,
    Password,
    USPhone,
    USZip,
    Email,
    Int,
    Double,
    Float,
    Decimal,
    NumberLetter,
    CreditCard
}

public enum UserTypes
{
    USR_NOTDEFINE = -1,
    USR_EMPLOYEE = 0,
    USR_SALEMAN = 1,
    USR_AGENCY = 2,
    USR_FCP = 3,
    USR_DEALER = 4,
    USR_ROIBE = 5
}

public enum ESpecialRequestType
{
    None = 0,
    FaxesOnly = 1,
    Other = 2,
}
public enum ECallCenterSupportType
{
    H24PerDay = 0,
    AfterBusinessHourOnly = 1,
    NotUseCallCenter = 2,
    None = 3,
}
public enum EUserType
{
    Dealer = 0,
    Dealer_SaleMan = 1,
    Dealer_Staff = 2,
    Agency = 3,
    Agency_Employee = 4,
    ROIEmployee = 5,
}
public enum ECampaignTab
{
    CampaignOrderLogs = 0,
    CampaignInformation = 1,
    ProductsServices = 2,
    Premiums = 3,
    DatabaseInstructions = 4,
    VoicePromptsSettings = 5,
    OtherIVRProperties = 6,
    Documents = 7,
    BlastInformation = 8,
    BlastSchedule = 9,
}
public enum EOrderType
{
    DirectMail = 0,
    InboundCampaign = 1,
    FaxBlast = 2,
    EmailBlast = 3,
    SMSBlast = 4,
    CallBlast = 5,
}
public enum EIvrType
{
    AppointmentReminder = 5,
    BrokenAppointmentReminder = 15,
    LiveCallBlast = 25,
    AutomatedPromotionCallBlast = 35,
}